home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 244 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: newshub.cts.com!usenet
  2. From: rdh@cts.com (Bob Harvey)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Intel CPU determination in C?
  5. Date: Wed, 03 Jan 1996 16:52:10 GMT
  6. Organization: San Diego, CA
  7. Message-ID: <30eab21d.6409934@news2.cts.com>
  8. References: <1995Dec30.024206.1@vaxa>  <Pine.SV4.3.91-heb-2.04.951231161631.21129A-100000@cs.technion.ac.il>
  9. NNTP-Posting-Host: rdh.cts.com
  10. X-Newsreader: Forte Agent .99c/16.141
  11.  
  12. On 30 Dec 1995 drosenblum1@vaxa.hofstra.edu wrote:
  13. > Does anyone have/know of any Turbo C, Borland C or Visual C code that
  14. > determines the type of CPU a computer has?
  15.  
  16. I have seen the code that Intel recommends to identify the different
  17. CPU's on their FTP side: ftp.intel.com in one of the directories off
  18. of the /pub/ directory.  However, I believe that all the examples they
  19. showed was in assembler.  Because of the special CPU instructions and
  20. operations required, I do not believe it can be accomplished using a
  21. high level language.  You might want to check out the FTP site and see
  22. what you think.
  23.  
  24. Good Luck,
  25.  
  26. Bob Harvey
  27. rdh@cts.com
  28. San Diego, CA  USA
  29.